#ifndef DIALOGTIMEPERIODSETTING_H
#define DIALOGTIMEPERIODSETTING_H

#include <QDialog>
#include <QSettings>
#include <QDate>

namespace Ui {
class DialogTimePeriodSetting;
}

class DialogTimePeriodSetting : public QDialog
{
    Q_OBJECT
    
public:
    explicit DialogTimePeriodSetting(QWidget *parent = 0);
    ~DialogTimePeriodSetting();
    
private slots:
    void on_pushButtonChangePeriodStartDay_clicked();

    void on_spinBoxTimePeriodLength_editingFinished();
    void dateActivated(QDate date);

private:
    Ui::DialogTimePeriodSetting *ui;
    QSettings settings;
};

#endif // DIALOGTIMEPERIODSETTING_H
